<?php

namespace App\Repositories;

use App\Models\GoodsContent;
use InfyOm\Generator\Common\BaseRepository;

/**
 * Class GoodsContentRepository
 * @package App\Repositories
 * @version September 15, 2017, 7:49 am UTC
 *
 * @method GoodsContent findWithoutFail($id, $columns = ['*'])
 * @method GoodsContent find($id, $columns = ['*'])
 * @method GoodsContent first($columns = ['*'])
*/
class GoodsContentRepository extends BaseRepository
{
    /**
     * @var array
     */
    protected $fieldSearchable = [
        'goods_id',
        'url',
        'sort'
    ];

    /**
     * Configure the Model
     **/
    public function model()
    {
        return GoodsContent::class;
    }
}
